package com.sss.springcloud.service;

import com.sss.springcloud.common.Result;
import org.springframework.stereotype.Component;

/**
 * @author sss
 * @date 2020-03-14 20:49
 **/
@Component
public class PaymentFeignServiceFallback implements PaymentFeignService {

    public Result getPayment(Long id) {
        return Result.fail("fallback降级测试");
    }

    public Result getTimeout() {
        return Result.fail("fallback降级测试");
    }
}
